package org.example.smartbuy.service;

import org.example.smartbuy.entity.Payments;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Smarty Buy
 * @since 2024-11-18
 */
public interface IPaymentsService extends IService<Payments> {
    List<Payments> listAll();

    Payments getById(int id);

    Payments add(Payments payments);

    void delete(int id);
}
